<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		<meta http-equiv="X-UA-Compatible" content="ie=edge">
		<title>新增打印设备</title>
		<link rel="stylesheet" href="./../public/css/common.css">
		<link rel="stylesheet" href="./../public/css/pintuer.css">
		<link rel="stylesheet" href="./css/printer-add.css">
	</head>
	<body ms-controller="printerAdd">
		<div class="content">
			<div>
				<div class="account_section ">
					<div class="line-big border section_common">
						<div class="x12">
							<div class="line-big bg-sub box-header">
								<div class="x8 title">
									新增设备
								</div>
								<div class="x4 text-right">
									<a href="javascript:;"></a>
								</div>
							</div>
							<div class="line-big ">
								<form action="account.do?act=account" name="myform" method="post">
									<div class="line-big am-form-group">
										<div class="x12">
											<div class="line-big left_content">
												<div class="x12 am-form-left ">
													收银员:
												</div>
											</div>
											<div class="line-big right_content">
												<div class="x12 ">
													<div class="line-big mt10">
														<div class="button-group border-sub checkbox" ms-class="@datashow?'showblock':''">
															<label ms-class="['button',(@checkAll ? 'active':'')]">
																<input name="" value="0" type="checkbox" ms-attr="{checked:@checkAll}" ms-on-click="@selectAll('ischeckAll')">
																全选
															</label>
														</div>
													</div>
													<div class="line-big">

														<div class="button-group border-sub checkbox selectlist" ms-class="@datashow?'showblock':''">
															<label class="button " ms-class="@ischeckAll? 'active':''" ms-for="item in @salelist">
																<input name="pintuer" ms-attr="{value:item.id,id:item.id,checked:@ischeckAll}" type="checkbox" ms-attr="{checked:@ischeckAll}"
																 ms-on-click="@isSelectAll(item.id)">{{item.nickname}}
															</label>

														</div>

													</div>


												</div>
											</div>
										</div>
									</div>
									<div class="line-big am-form-group">
										<div class="am-form-left text-left">
											商家名称
										</div>

										<div class="am-form-right">
											<input class="commoninput " placeholder="请输入商家手机号"  ms-duplex="@storeName" autocomplete="off"/>


										</div>
									</div>
									<div class="line-big am-form-group">
										<div class="am-form-left text-left">
											手机号
										</div>

										<div class="am-form-right">
											<input class="commoninput " placeholder="请输入商家手机号"  ms-duplex="@tel" autocomplete="off"/>


										</div>
									</div>
									<div class="line-big am-form-group">
										<div class="am-form-left text-left">
											设备名
										</div>

										<div class="am-form-right">
											<input class="commoninput " placeholder="请输入设备名"  ms-duplex="@devicesName" autocomplete="off"/>


										</div>
									</div>
									<div class="line-big am-form-group">
										<div class="am-form-left text-left">
											设备秘钥
										</div>

										<div class="am-form-right">
											<input class="commoninput " placeholder="请输入设备秘钥"  ms-duplex="@deviceskey" autocomplete="off"/>


										</div>
									</div>
									<div class="line-big am-form-group">
										<div class="am-form-left text-left">
											设备终端号
										</div>

										<div class="am-form-right">
											<input class="commoninput " placeholder="请输入设备终端号"  ms-duplex="@devicesNumber" autocomplete="off"/>

										</div>
									</div>
									<div class="line-big am-form-group">
										<div class="am-form-left text-left">
											备注
										</div>

										<div class="am-form-right">
											<input class="commoninput " placeholder="请输入备注信息"  ms-duplex="@remark" autocomplete="off"/>

										</div>
									</div>







									<div class="line-big am-form-group">
										<div class="am-form-left text-left">

										</div>

										<div class="am-form-right">
											<button class="button bg-sub" type="button" ms-click="@sureClick()">
												<img class="loadimg" :class="showLoad ? '' : 'hide'"  
src="./../public/images/load3.gif" />确认</button>
											<button class="button n-option" type="button" ms-click="@ResetClick('')">
												重置</button>
										</div>
									</div>

								</form>
							</div>
						</div>
					</div>
				</div>




			</div>
			<!-- 弹框 -->
			<div class="dialog" :class='@toggle? "open":""'>
				<div class="dialog-head">
					<strong>提示</strong>
				</div>
				<div class="dialog-body">
					{{@info}}
				</div>
				<div class="dialog-foot">

					<button class="button button-small bg-blue" ms-click="@closeClick()">
						确认</button>
				</div>
			</div>
		</div>
		</div>

		<div class="mask" :class='@toggle? "openmask":""'></div>
	</body>
	<!-- api配置文档 -->
	<script src="./../api/api.js"></script>
	<!-- jquery -->
	<script src="./../public/js/jquery.js"></script>
	<!-- 拼图 js -->
	<script src="./../public/js/pintuer.js"></script>
	<!-- avalon js -->
	<script src="./../public/js/avalon.js"></script>
	<!-- common js -->
	<script src="./../public/js/common.js"></script>
	<!-- 添加打印设备js-->
	<script src="./js/printer-add.js"></script>
</html>
